From 08ecf199073a5d42a0fb23fe8289c5264e3f0313 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 7 Dec 2015 18:32:57 -0500 Subject: [PATCH] dnd: Remove an unused struct field We only have one screen nowadays, so the fallback_icon is never used. --- gtk/gtkdnd.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/gtk/gtkdnd.c b/gtk/gtkdnd.c index f0c8c0b634..20ec74e04f 100644 --- a/gtk/gtkdnd.c +++ b/gtk/gtkdnd.c @@ -98,7 +98,6 @@ struct _GtkDragSourceInfo GdkDragContext *context; /* drag context */ GtkWidget *icon_window; /* Window for drag */ GtkWidget *icon_widget; /* Widget for drag */ - GtkWidget *fallback_icon; /* Window for drag used on other screens */ GtkWidget *ipc_widget; /* GtkInvisible for grab, message passing */ GdkCursor *cursor; /* Cursor for drag */ gint hot_x, hot_y; /* Hot spot for drag */ @@ -3213,13 +3212,6 @@ gtk_drag_remove_icon (GtkDragSourceInfo *info) gtk_widget_set_opacity (info->icon_widget, 1.0); if (info->destroy_icon) gtk_widget_destroy (info->icon_widget); - - if (info->fallback_icon) - { - gtk_widget_destroy (info->fallback_icon); - info->fallback_icon = NULL; - } - g_object_unref (info->icon_widget); info->icon_widget = NULL; } -- 2.30.2